package com.wlc.thread.demo02;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description 多线程
 * @date 2021-07-15 08:24
 */
public class MyThreadDemo extends Thread {

    private String msg;

    public MyThreadDemo(String msg) {
        this.msg = msg;
    }

    @Override
    public void run() {

        System.out.println(this.msg + "  通过使用Thread 启动一个多线程。。。。");
    }
}
